<%@ include file="/html/book/init.jsp" %>


<portlet:renderURL var="updateBookURL">
	<portlet:param name="jspPage" value="<%= BookConstants.PAGE_UPDATE %>"/>
</portlet:renderURL>

<portlet:renderURL var="listBooksURL">
	<portlet:param name="jspPage" value="<%= BookConstants.SHOW_BOOK %>"/>
</portlet:renderURL>

<br/><aui:a href="<%= updateBookURL %>" > Add new Book &raquo;</aui:a>
&nbsp;|&nbsp;<aui:a href="<%= listBooksURL.toString() %>"> Show books &raquo;</aui:a>  

<hr/>
<portlet:actionURL var="searchBooksURL" 
		name="<%= BookConstants.ACTION_SEARCH_BOOKS %>"/>

<aui:form action="<%= searchBooksURL.toString() %>">
	<aui:input name="searchTerm" label="Enter Title to search"/>
	<aui:button type="submit" value="Search"/>
</aui:form>

<br/>&copy;|&reg;